package com.example.networktest.Service;

import com.example.networktest.Entity.NewsResponse;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface NewsApiService {


  @GET("index")
  Call<NewsResponse> getNews(@Query("type") String type, @Query("key") String apiKey);
}